<?php
namespace app\common\logic;
use think\Db;
class commonLogic
{
    public function _initialize(){
        
    }
    static public function selectData($type){
        $list = [];
        switch($type){
            case 'rolelist':
                $list = Db::name('system_role')->field('id,name')->select();
            break;
        }
        return $list;
    }
}